<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const day = prompt("day", "1-1");

      const r =
        day === "1-1"
          ? "元旦"
          : day === "4-1"
          ? "愚人节"
          : day === "5-1"
          ? "劳动节"
          : day === "6-1"
          ? "儿童节"
          : "...";
      console.log(r);
    </script>
  </body>
</html>
